import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store/index";
import "./server/axios_config";
import "./App.css";
import "./registerServiceWorker";
Vue.config.productionTip = false;
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);
// console.log("router:", router)
(<any>window).router = router;

console.log("router:", router)
setTimeout(function () {
  // console.log("router---:", router)
  //router.push("/")
}, 3000)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
